package org.sharing.design.factory.impl;

import org.sharing.design.factory.AwardService;
import org.sharing.design.factory.shop.card.CardService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Map;

/**
 * @author: Dragon
 * @since: 2024/4/6 12:44
 */
public class CardAwardServiceImpl implements AwardService {

    private Logger logger = LoggerFactory.getLogger(CardAwardServiceImpl.class);

    private CardService cardService = new CardService();
    @Override
    public void sendAward() {

        cardService.grantToken("18561591227", "1111111111111");

        logger.info("会员卡发放");
        logger.info("测试结果：success");
    }
}
